// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_MST_VIEW_BLUEPRINT_HISTORY
// * CreateDate    : 2011/9/27 11:24:17
// * Creater       : CodeSmith
// * LastChangeDate: 2011/9/27 11:24:17
// * LastChanger   : 2011/9/27 11:24:17
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class MstViewBlueprintHistoryTable : TableInfo
    {
		public const string C_TableName = "MST_VIEW_BLUEPRINT_HISTORY";
		
		public const string C_HISTORY_ID = "HISTORY_ID";
		public const string C_BLUEPRINT_ID = "BLUEPRINT_ID";
		public const string C_PERSON_ID = "PERSON_ID";
		public const string C_HISTORY_DATE = "HISTORY_DATE";
		public const string C_HISTORY_TYPE = "HISTORY_TYPE";
		public const string C_MACHINE_NAME = "MACHINE_NAME";
		public const string C_REMATK = "REMATK";
		
		public MstViewBlueprintHistoryTable()
        {
            _tableName = "MST_VIEW_BLUEPRINT_HISTORY";
        }
		
		protected static MstViewBlueprintHistoryTable _current;
        public static MstViewBlueprintHistoryTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new MstViewBlueprintHistoryTable();

            _current.Add(C_HISTORY_ID, new ColumnInfo(C_HISTORY_ID,"HistoryId", true, typeof(string)));
            _current.Add(C_BLUEPRINT_ID, new ColumnInfo(C_BLUEPRINT_ID,"BlueprintId", false, typeof(string)));
            _current.Add(C_PERSON_ID, new ColumnInfo(C_PERSON_ID,"PersonId", false, typeof(string)));
            _current.Add(C_HISTORY_DATE, new ColumnInfo(C_HISTORY_DATE,"HistoryDate", false, typeof(DateTime)));
            _current.Add(C_HISTORY_TYPE, new ColumnInfo(C_HISTORY_TYPE,"HistoryType", false, typeof(string)));
            _current.Add(C_MACHINE_NAME, new ColumnInfo(C_MACHINE_NAME,"MachineName", false, typeof(string)));
            _current.Add(C_REMATK, new ColumnInfo(C_REMATK,"Rematk", false, typeof(string)));
			
		}
		
		public ColumnInfo HISTORY_ID
        {
            get { return this[C_HISTORY_ID]; }
        }
		
		public ColumnInfo BLUEPRINT_ID
        {
            get { return this[C_BLUEPRINT_ID]; }
        }
		
		public ColumnInfo PERSON_ID
        {
            get { return this[C_PERSON_ID]; }
        }
		
		public ColumnInfo HISTORY_DATE
        {
            get { return this[C_HISTORY_DATE]; }
        }
		
		public ColumnInfo HISTORY_TYPE
        {
            get { return this[C_HISTORY_TYPE]; }
        }
		
		public ColumnInfo MACHINE_NAME
        {
            get { return this[C_MACHINE_NAME]; }
        }
		
		public ColumnInfo REMATK
        {
            get { return this[C_REMATK]; }
        }
		
		
		
	}
}

